import request from '@/utils/request'

// 公寓房间管理列表
export function apiRoomApartmentLists(params: any) {
    return request.get({ url: '/room.room_apartment/lists', params })
}

// 公寓搜索列表
export function apartmentSearchLists(params: any) {
    return request.get({ url: '/room.room_apartment/searchLists', params })
}

// 添加公寓房间管理
export function apiRoomApartmentAdd(params: any) {
    return request.post({ url: '/room.room_apartment/add', params })
}

// 编辑公寓房间管理
export function apiRoomApartmentEdit(params: any) {
    return request.post({ url: '/room.room_apartment/edit', params })
}

// 快速设置公寓房间管理
export function apiRoomApartmentSave(params: any) {
    return request.post({ url: '/room.room_apartment/setSave', params })
}

// 删除公寓房间管理
export function apiRoomApartmentDelete(params: any) {
    return request.post({ url: '/room.room_apartment/delete', params })
}

// 公寓房间管理详情
export function apiRoomApartmentDetail(params: any) {
    return request.get({ url: '/room.room_apartment/detail', params })
}

// 公寓房间更新费用
export function apiRoomApartmentUpdateFee(params: any) {
    return request.get({ url: '/room.room_apartment/updateFee', params })
}

// 公寓房间月初始化
export function apiRoomApartmentNewMonth(params: any) {
    return request.get({ url: '/room.room_apartment/newMonth', params })
}
